#!/usr/bin/env sh

# 发生错误时终止
set -e
rm -rf five-elements-calculator*

# 构建
npm run build
# 压缩构建产物
zip -r five-elements-calculator.zip five-elements-calculator/

git add -A
git commit -m 'deploy'
git pull
git push origin master

